package com.mdjnu.service;

import com.mdjnu.pojo.Result;
import com.mdjnu.pojo.Videos;
import org.springframework.web.multipart.MultipartFile;

public interface VideoService {
    Result uploadVideo(MultipartFile video);
    Result addVideo(Videos videos);
    // 压缩图片
    Result compressImage(MultipartFile image);
    Result getVideoByHot(int pageNum,int pageSize);
    Result getVideoByNew(int pageNum,int pageSize);
    Result getVideoByView(int pageNum,int pageSize);
    Result getVideoByComment(int pageNum,int pageSize);
    Result getVideoById(int videoId);

}
